/*
 * @Descripttion:
 * @Author: voanit
 * @Date: 2022-05-15 14:33:11
 * @LastEditors: voanit
 * @LastEditTime: 2022-05-15 14:43:17
 */
import { legacy_createStore as createStore, applyMiddleware } from 'redux'
import thunk from 'redux-thunk'
import { composeWithDevTools } from 'redux-devtools-extension'
import rootReducers from './reducers'
const store = createStore(
  rootReducers,
  composeWithDevTools(applyMiddleware(thunk))
)
export default store
